#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_AreaTimeZone.nanopb.h"
#ifndef MAX_AREATIMEZONE_AREATIMEZONE_NUM
#define MAX_AREATIMEZONE_AREATIMEZONE_NUM 20
#endif

class AreaTimeZoneDesc : public NFI_DESC_TEMPLATE_MACRO(AreaTimeZoneDesc, E_AreaTimeZone, EOT_CONST_AREATIMEZONE_AREATIMEZONE_DESC_ID, MAX_AREATIMEZONE_AREATIMEZONE_NUM)
public:
	AreaTimeZoneDesc();
	virtual ~AreaTimeZoneDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
